package com.itheima.service;

public class Tist2 {
    public static void main(String[] args) {
        byte b= 30;
        short c= 40;
        int num= b+c;
        System.out.println(num);
        short s2= (short) (b+c);
        byte b2= (byte) (b+c);
        System.out.println(s2);
        System.out.println(b2);
    }
}
